<?php
namespace App\Entities;


class OrderCommentStarEntity extends ABaseEntity
{
    /**
     * OrderCommentStarEntity constructor.
     */
    public function __construct(OrderCommentStarModel $model)
    {
        $this->model = $model;
    }

    public function getId(): int
    {
        return (int) $this->model->id;
    }

    public function setId(int $id): void
    {
        $this->model->id = $id;
    }

    public function getOrderId(): int
    {
        return (int) $this->model->order_id;
    }

    public function setOrderId(int $order_id): void
    {
        $this->model->order_id = $order_id;
    }

    public function getOaGid(): string
    {
        return (string) $this->model->oa_gid;
    }

    public function setOaGid(string $oa_gid): void
    {
        $this->model->oa_gid = $oa_gid;
    }

    public function getServiceTypeId(): int
    {
        return (int) $this->model->service_type_id;
    }

    public function setServiceTypeId(int $service_type_id): void
    {
        $this->model->service_type_id = $service_type_id;
    }

    public function getServiceTypeName(): string
    {
        return (string) $this->model->service_type_name;
    }

    public function setServiceTypeName(string $service_type_name): void
    {
        $this->model->service_type_name = $service_type_name;
    }

    public function getStarNum(): int
    {
        return (int) $this->model->star_num;
    }

    public function setStarNum(int $star_num): void
    {
        $this->model->star_num = $star_num;
    }

    public function getCreatedAt(): string
    {
        return (string) $this->model->created_at;
    }

    public function setCreatedAt(string $created_at): void
    {
        $this->model->created_at = $created_at;
    }
}
